using System;
using System.Collections.Generic;

namespace Thunder
{
	public static class LinkedListNodeExtensions
	{
		public static bool IsFirst<T>(this LinkedListNode<T> MyNode)
        {
            return MyNode.Previous == null;
        }

        public static bool IsLast<T>(this LinkedListNode<T> MyNode)
        {
            return MyNode.Next == null;
        }
	}
}

